<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonList.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>选择银行帐号</title>
<script language="JavaScript"  src="${ctx}/scripts/div/common.js"></script>
<link href="${ctx}/styles/aux_window.css" rel="stylesheet" type="text/css">
<script>
	function setSelectBankAccount(bankAccount,bankAccountId)
	{
		var obj = findFrame('houseChooses');
		obj.setSelectBankAccount(bankAccount,bankAccountId);
	}
</script>
</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="window_head_outBg">
      <table border="0" cellpadding="0" cellspacing="0">
       <tr>
        <td><img src="${ctx}/images/ico_Advance.gif" width="16" height="16" align="absmiddle"> <span class="window_head_intext">选择银行帐号</span></td>
       </tr>
      </table>
     </td>
  </tr>
  <tr>
    <td class="aux_header_line_1"></td>
  </tr>
  <tr>
    <td class="aux_header_line_2"></td>
  </tr>
  <tr>
    <td valign="middle" class="content">
	<ec:ceTable items="bankAccountList"
	    action="${ctx}/house_coalitionHouseAction.do?method=initChoiceBankAccount"
	    var="bank"
	    view="pmsview"
	    styleClass="gridData2"
	    rowsDisplayed="5">
	    <ec:ceRow styleClass="grid"  onclick="setSelectBankAccount('${bank.bankAccountNumber}','${bank.bankAccountId}')" >
	       <ec:parameter name ="bankAccountId" value = "${bank.bankAccountId}"></ec:parameter>
		   <ec:ceColumn headerCell="pmsHeadrCell" title="房号" property="houseNumber" value="${bank.houseNumber}"  width="10%"/>
		   <ec:ceColumn headerCell="pmsHeadrCell" title="银行账号" property="bankAccountNumber" value="${bank.bankAccountNumber}"  width="20%"/>
		   <ec:ceColumn headerCell="pmsHeadrCell" title="银行名称" property="bankName" value="${bank.bankName}"  width="15%"/>
		   <ec:ceColumn headerCell="pmsHeadrCell" title="开户人" property="openerName" value="${bank.openerName}" width="15%"/>
		   <ec:ceColumn headerCell="pmsHeadrCell" title="合同号" property="contractNumber" value="${bank.contractNumber}" width="10%"/>
	    </ec:ceRow>
    </ec:ceTable>
    </td>
  </tr>
  <tr>
    <td class="window_footer"><table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td class="buttonOffLeft" id="btn1_31"></td>
              <td class="buttonOffMiddle" id="btn1_32" onClick="windowClose();" onMouseOver="btn_change_over(3)" onMouseOut="btn_change_out(3)" onblur="btn_change(3)"><img src="${ctx}/images/ico_ok.gif" alt="" width="14" height="14" border="0" align="absbottom">确定</td>
              <td class="buttonOffRight" id="btn1_33"></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>